#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>

using namespace std;
int main()
{
	int m, t, s;
	cin >> m >> t >> s;
	if (t == 0)
	{
		cout << 0;
		return 0;
	}
	m = m - s / t;
	if (m < 0)
	{
		cout << 0;
		return 0;
	}
	if (s % t != 0)
	{
		m--;
		cout << m;
	}
	else
	{
		cout << m;
	}

	return 0;
}